﻿/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2012-2018. All rights reserved.
 * Description:
 * Author: 辛爱国 x30005137
 * Create: 2020-07-28
 * Notes: 无
 */
#ifndef ReConfirmation_H
#define ReConfirmation_H
#include <QResizeEvent>
#include "ui_reconfirmation.h"
#include "HWDialog.h"

typedef enum TIPSTYPE {
	IDEASHARE_NOMAL = 0,
	IDERSHARE_MEET = 1,
} TIPTYPE_E;
class ReConfirmation : public HWDialog,
    public Ui::ReConfirmation {
    Q_OBJECT
public:
    void SetTex(QString &text);
    void SetTextAndLoge(const QString &text, const QString &url);
    ReConfirmation(QWidget *parent = Q_NULLPTR, TIPTYPE_E is = IDEASHARE_NOMAL);
    ~ReConfirmation();
    bool GetCheckboxVisibleStatus();
    void SetCheckboxVisible(bool status = false);
public slots:
    void on_pushButtonExit_clicked();
    void on_pushButtonReOK_clicked();
    void on_pushButtonReCancel_clicked();
};
#endif // ReConfirmation_H
